<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../head/head.jsp"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv=content-type />
<link type="text/css" rel="stylesheet" href="<%=path%>/css/body.css" />
<link type="text/css" rel="stylesheet"
	href="<%=path%>/css/theme/redmond/jquery-ui-1.8.1.custom.css" />
<link type="text/css" rel="stylesheet"
	href="<%=path%>/js/vendor/formValidator/1_6_2/css/validationEngine.jquery.css" />
<script type="text/javascript"
	src="<%=path%>/js/vendor/jquery/v_1_4_2/jquery-1.4.2.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/formValidator/1_6_2/jquery.validationEngine-cn.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/vendor/formValidator/1_6_2/jquery.validationEngine.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/common/util/v_1_0/error.js"></script>
<script type="text/javascript"
	src="<%=path%>/page/system/sys_role_edit.js"></script>
<script type="text/javascript"
	src="<%=path%>/js/common/ui/v_1_0/style.js"></script>
<title>角色新增页面</title>
</head>
<body>
<form action="saveSysRole" method="post" id="sysRole">
<fieldset class="rectangle" id="rm_searcn_fieldset"><legend><label>角色基本信息</label></legend>
<div id="errorMessage"><s:fielderror /> <s:actionerror /> <s:actionmessage />
</div>
<table class="mainTable">
	<tr>
		<td><s:text name="sysRole.ui.name" />：<font color="red">*</font></td>
		<td><input type="text" name="sysRoleBean.name" id="name"
			value="${sysRoleBean.name }"
			class="validate[required,custom[chineseEnglishLine],length[0,40]]" /></td>
		<td><label style="margin-left: 40px;"><s:text
			name="sysRole.ui.code" />：<font color="red">*</font></label></td>
		<td><input type="text" name="sysRoleBean.code" id="code"
			value="${sysRoleBean.code }"
			class="validate[required,custom[englishNumberLine],length[0,40]]" /></td>
		<td><label style="margin-left: 40px;">角色分类：<font
			color="red">*</font></label></td>
		<td><s:select name="sysRoleBean.sysRoleS" list="sysRoleSBeans"
			listKey="value" listValue="name" headerKey="-1"
			headerValue="---请选择---" theme="simple" cssStyle="width:118px;" /></td>
	</tr>

	<tr>
		<td><s:text name="sysRole.ui.remark" />：</td>
		<td colspan="5"><textarea rows="5" cols="74"
			name="sysRoleBean.remark">${sysRoleBean.remark }</textarea></td>
	</tr>
</table>
</fieldset>
<input type="submit" value="<s:text name='baseframe.ui.save' />"
	style="margin-right: 5px" /><input type="reset"
	value="<s:text name='baseframe.ui.reset'/>" style="margin-right: 5px" /><input
	type="button" value="返回" id="backButton" style="margin-right: 5px" />
</form>
<div class="errbox">
<ul>
	<li>1、保存：保存添加的角色基本信息数据。</li>
	<li>2、重置：将角色基本信息的数据重置为原始状态。</li>
	<li>3、返回：返回到角色列表页面。</li>
</ul>
</div>
</body>
</html>